import request from '@/utils/request'


// 震害等级对应的震害指数的中值和上下限查询
export function getAllDiBound (query) {
    return request({
      url: '/diBound/getAllDiBound',
      method: 'get',
      params: query
    })
  }

//震害等级对应的震害指数的中值和上下限添加或修改
export function saveOrUpdateDiBound (data) {
    return request({
      url: '/diBound/saveOrUpdateDiBound',
      method: 'post',
      data: data
    })
  }

  //震害等级对应的震害指数的中值和上下限删除
  export function deleteDiBoundById (query) {
    return request({
      url: '/diBound/deleteDiBoundById',
      method: 'get',
      params: query
    })
  }

